package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffTargetCycleAcceptancePlanTimeDto
 * @使用场景
 */
@Data
public class BffTargetCycleAcceptancePlanTimeDto implements Serializable {

  /**
   * 目标周期规划设置ID
   */
  @ApiModelProperty("目标周期规划设置ID")
  private String targetCyclePlanSetId;

  /**
   * 被评对象目标周期ID
   */
  @ApiModelProperty("被评对象目标周期ID")
  private String evaObjTargetCycleId;

  /**
   * 目标周期简称
   */
  @ApiModelProperty("目标周期简称")
  private String cyclelAlias;

  /**
   * 计划验收时间
   */
  @ApiModelProperty("计划验收时间")
  private Date acceptancePlanTime;
/**
     * 周期名称 
     */
    @ApiModelProperty("周期名称")
    private String	 cycleStandardName;
/**
     * 目标实际开始时间 
     */
    @ApiModelProperty("目标实际开始时间")
    private Date	 targetActualStartTime;

    /**
     * 目标实际结束时间 
     */
    @ApiModelProperty("目标实际结束时间")
    private Date	 targetActualEndtTime;

    /**
     * 实际验收时间 
     */
    @ApiModelProperty("实际验收时间")
    private Date	 acceptanceActualTime;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffTargetCycleAcceptancePlanTimeDto that = (BffTargetCycleAcceptancePlanTimeDto) o;
      return  targetCyclePlanSetId == that.targetCyclePlanSetId&&evaObjTargetCycleId == that.evaObjTargetCycleId&&cyclelAlias == that.cyclelAlias&&acceptancePlanTime == that.acceptancePlanTime&&cycleStandardName == that.cycleStandardName&&targetActualStartTime == that.targetActualStartTime&&targetActualEndtTime == that.targetActualEndtTime&&acceptanceActualTime == that.acceptanceActualTime;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), targetCyclePlanSetId,evaObjTargetCycleId,cyclelAlias,acceptancePlanTime,cycleStandardName,targetActualStartTime,targetActualEndtTime,acceptanceActualTime);
    }

}
